import request from "@/utils/request";

//获取点赞列表
export const getPraise = data =>
    request({
        method: 'POST',
        url: '/frontend/praise/list/',
        data
    })
//点赞
export const addPraise = data =>
    request({
        method: 'POST',
        url: '/frontend/praise/add/',
        data
    })
//取消点赞
export const deletePraise = data =>
    request({
        method: 'POST',
        url: '/frontend/praise/delete/',
        data
    })